/*
 *
 *  * Copyright (c) 2021 os-parent Authors. All Rights Reserved.
 *  *
 *  * Licensed under the Apache License, Version 2.0 (the "License");
 *  * you may not use this file except in compliance with the License.
 *  * You may obtain a copy of the License at
 *  *
 *  *     http://www.apache.org/licenses/LICENSE-2.0
 *  *
 *  * Unless required by applicable law or agreed to in writing, software
 *  * distributed under the License is distributed on an "AS IS" BASIS,
 *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  * See the License for the specific language governing permissions and
 *  * limitations under the License.
 *
 */

package com.ones.sdp.kit.nanomq.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * NanoMQ配置
 *
 * @author Clark
 * @version 2024-11-21
 */
@Getter
@Setter
@ToString
@ConfigurationProperties(prefix = "ones.nanomq.http-config")
public class OnesNanoMqProperties {
	/**
	 * 主机
	 */
	private String host = "127.0.0.1";
	/**
	 * http端口
	 */
	private String port = "8081";
	/**
	 * http请求路径
	 */
	private String path = "/api/v4/mqtt/publish";
	/**
	 * 用户
	 */
	private String username = "admin";
	/**
	 * 密码
	 */
	private String password = "public";
	/**
	 * 客户端ID
	 */
	private String clientId = "ones-client";
}